import request from '@/utils/request'

/** 获取运维模板列表 */
export const YWFTemplateList = data => {
  return request({
    url: '/shop/YWFTemplate/list',
    method: 'post',
    data
  })
}

/** 添加运维模板 */
export const YWFTemplateAdd = data => {
  return request({
    url: '/shop/YWFTemplate/add',
    method: 'post',
    data
  })
}

/** 删除 */
export const YWFTemplateDel = data => {
  return request({
    url: '/shop/YWFTemplate/del',
    method: 'post',
    data
  })
}

/** 编辑 */
export const YWFTemplateEdit = data => {
  return request({
    url: '/shop/YWFTemplate/Edit',
    method: 'post',
    data
  })
}
